package com.mapper;

import com.domain.Function;

import java.util.List;

public interface FunctionMapper {
        List<Function> selectAll();

        void delete(int id);

        void insert(Function function);

        void update(Function function);

        Function selectById(int id);


        List<Function> queryByOne();

        List<Function> queryByZero();
}
